const Controller = require('egg').Controller;

class MusicController extends Controller {
    async index() {
      const { ctx } = this;
      var db =  this.app.mongodb;
      var res =await db.collection("member").find().toArray();
      console.log(res)
      ctx.body="music"
    }
  }

module.exports = MusicController;
